[INFO] cloning repository https://github.com/jkdzzzz/simple-rust-todo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkdzzzz/simple-rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c93b49b7327147bcfc086be67d67a7122a05e974
[INFO] testing jkdzzzz/simple-rust-todo against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] finished tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] tweaked toml for git repo https://github.com/jkdzzzz/simple-rust-todo written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkdzzzz/simple-rust-todo on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jkdzzzz/simple-rust-todo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 01f437920dba1b24714f9195230f640af88f019602077e20cfe69821daf8376a
[INFO] running `Command { std: "docker" "start" "-a" "01f437920dba1b24714f9195230f640af88f019602077e20cfe69821daf8376a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "01f437920dba1b24714f9195230f640af88f019602077e20cfe69821daf8376a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01f437920dba1b24714f9195230f640af88f019602077e20cfe69821daf8376a", kill_on_drop: false }`
[INFO] [stdout] 01f437920dba1b24714f9195230f640af88f019602077e20cfe69821daf8376a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3dde6485cf79254204005ce67322bde46a22bb02f21b664352d72c8ea10876d5
[INFO] running `Command { std: "docker" "start" "-a" "3dde6485cf79254204005ce67322bde46a22bb02f21b664352d72c8ea10876d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple-rust-todo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let lines: Vec<String> = reader.lines().filter_map(|line| {
[INFO] [stdout]    |  ________________-----------___^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                expected due to this
[INFO] [stdout] 66 | |         let line = line.ok()?;
[INFO] [stdout] 67 | |         if &line != task_line {
[INFO] [stdout] 68 | |             Some(line)
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     });
[INFO] [stdout]    | |______^ expected `Vec<String>`, found `FilterMap<Lines<BufReader<File>>, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<String>`
[INFO] [stdout]               found struct `FilterMap<std::io::Lines<BufReader<File>>, {closure@src/utils.rs:65:56: 65:62}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tasks`
[INFO] [stdout]   --> src/main.rs:40:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut tasks: Vec<String> = Vec::new();
[INFO] [stdout]    |             --------- move occurs because `tasks` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks);
[INFO] [stdout]    |                                        ----- value moved here
[INFO] [stdout] 40 |         utils::handle_command(command, file, tasks);
[INFO] [stdout]    |                                              ^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `task_menu` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/utils.rs:5:25
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn task_menu(tasks: Vec<String>) -> String {
[INFO] [stdout]    |        ---------        ^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |        |
[INFO] [stdout]    |        in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks.clone());
[INFO] [stdout]    |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple-rust-todo` (bin "simple-rust-todo") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "3dde6485cf79254204005ce67322bde46a22bb02f21b664352d72c8ea10876d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dde6485cf79254204005ce67322bde46a22bb02f21b664352d72c8ea10876d5", kill_on_drop: false }`
[INFO] [stdout] 3dde6485cf79254204005ce67322bde46a22bb02f21b664352d72c8ea10876d5
